package com.qumitech.visualnovel.controller.vo.trend;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @Auther: yilu
 * @Date: 2019/4/2 10:11
 * @Description:
 */
public class CommentDTO {
    @JSONField(name = "from_uid")
    private Long fromUid;
    private String content;
    @JSONField(name = "to_uid")
    private Long toUid;
    private Long timestamp;
    @JSONField(name = "trend_id")
    private String trendId;

    public CommentDTO() {
    }

    public CommentDTO(Long fromUid, String content, Long toUid, String trendId) {
        this.fromUid = fromUid;
        this.content = content;
        this.toUid = toUid;
        this.timestamp = System.currentTimeMillis();
        this.trendId = trendId;
    }

    public Long getFromUid() {
        return fromUid;
    }

    public void setFromUid(Long fromUid) {
        this.fromUid = fromUid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getToUid() {
        return toUid;
    }

    public void setToUid(Long toUid) {
        this.toUid = toUid;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getTrendId() {
        return trendId;
    }

    public void setTrendId(String trendId) {
        this.trendId = trendId;
    }
}
